package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.vo.OrderVO;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface OrderService {
    CommonResponse<List<OrderVO>> getOrdersByUserId(String userId);

    CommonResponse<OrderVO> getOrdersByOrderId(String orderId);

    CommonResponse<OrderVO> addOrder(OrderVO orderVO);

    CommonResponse<List<OrderVO>> searchOrderList(String keyword);

}
